module Base
{

	item M5_Trunk1
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	10.0,
        Type	=	Normal,
        DisplayName	= M5 Trunk,
        Icon	=	M5_Trunk_Icon,
        MaxCapacity = 100,
        ConditionAffectsCapacity = false,
        ConditionMax = 100,
        ChanceToSpawnDamaged = 20,
        MechanicsItem = TRUE,
		VehicleType =   1,
    }

	template vehicle M5_TrunkTemplate
	{
		
part M5_TruckBedPart
{

	area = TruckBed,
	category = bodywork,
	itemType = Base.M5_Trunk,
	mechanicRequireKey = true,
	repairMechanic = true,
	container
	{
		conditionAffectsCapacity = false,
		test = M5_Vehicle.ContainerAccess.M5_TruckBed,
	}
	lua
	{
	create = Vehicles.Create.Default,
	}
}

}
}